package com.dingreading.cloud.subject.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类。
 *
 * @author Administrator
 * @since 2025-10-13
 */
@Data
@Table("subject_lesson_log")
public class SubjectLessonLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    @Column(onInsertValue = "now()")
    private Date addTime;

    private String corpUid;

    private String storeUid;

    private String staffUid;

    private String staffName;

    private String ip;

    private String lessonUid;

    private String videoUid;

    /**
     * 文件类型 1.课件 2.下载资料 2.视频
     */
    private Integer type;

    /**
     * 文件id
     */
    private Long fileId;

    /**
     * 文件类型 0.助教文案 1.阅读指南 2.资料下载 3.新书预告
     */
    private Integer fileType;

    /**
     * 关联学科id
     */
    private Long subjectsId;

}
